import request from '@/utils/request.js';

//查询设备状态日志列表
export function listStatusLog(query){
    return request({
        url:'/deployment/system/list',
        method:'get',
        params:query
    })
}

// 查询设备状态日志详细
export function getStatusLog(id) {
  return request({
    url: '/deployment/system/' + id,
    method: 'get'
  })
}

// 新增设备状态日志
export function addStatusLog(data) {
  return request({
    url: '/deployment/system',
    method: 'post',
    data: data
  })
}

// 修改设备状态日志
export function updateStatusLog(data) {
  return request({
    url: '/deployment/system',
    method: 'put',
    data: data
  })
}

// 删除设备状态日志
export function delStatusLog(id) {
  return request({
    url: '/deployment/system/' + id,
    method: 'delete'
  })
}
